package query_understanding.query_language.doc_entity_tree;

import edu.stanford.nlp.ling.IndexedWord;

import java.util.ArrayList;
import java.util.List;
import java.util.Set;

/**
 * Created by julianzliu on 4/22/2017.
 */
public class QueryNodeTokenMap {

    public QueryElement.AbstractQueryElement queryElement;

    public IndexedWord mainToken; //主节点

    public List<IndexedWord> tokenSet;  //与查询树节点映射的节点集合


    public QueryNodeTokenMap(){
        this.tokenSet = new ArrayList<>();
    }

    public QueryNodeTokenMap( QueryNodeTokenMap other){
        this.mainToken = other.mainToken;
        this.tokenSet = other.tokenSet;
        this.queryElement = null;
    }


}
